<link rel="stylesheet" href="${baseweb}/module/decorator/css/jquery-ui-1.8.13.custom.css" type="text/css" media="screen" />
<script type="text/javascript"
        src="${baseweb}/module/decorator/js/jquery-1.5.2.min.js">
</script>
<script type='text/javascript'
        src="${baseweb}/module/decorator/js/jquery-tools.js">
</script>
<script type="text/javascript"
      src="${baseweb}/module/decorator/js/jquery-ui-1.8.13.custom.min.js">
</script>
<script type="text/javascript"
        src="${baseweb}/module/decorator/js/listSalesSetup.js">
</script>
<script type="text/javascript">
  var baseweb =  '${baseweb}';
</script>
<#setting number_format="0.##">
<#setting locale="en_US">
<a href="addSale.do">Add Sale</a>
<div id="salesFilterDiv" class="saleSection" style="color: #838383;
    font-weight: bold;
    border-top: 2px solid #CCCCCC;">
  <h3>Filters</h3>
  Date From:<input type="text" id="dateFrom" name="dateFrom" value="" class="datePicker"/>
  Date End:<input type="text" id="dateEnd" name="dateEnd" value="" class="datePicker" />
  <input type="checkbox" id="facturaA" name="facturaA" value="" checked />Facturas A
  <input type="checkbox" id="facturaB" name="facturaB" value="" checked />Facturas B
  <input type="checkbox" id="remito" name="remito" value="" checked />Remito
  <input type="checkbox" id="noFact" name="noFact" value="" checked />N/A
  <input type="checkbox" id="onlyPayed" name="onlyPayed" value="" />Mostrar solo ventas pagas
  <input type="checkbox" id="onlyUnpayed" name="onlyUnpayed" value="" />Mostrar solo ventas sin pagar
  <input type="button" id="filter" name="filter" value="Filter"/>
</div>
<div id="tableResult">
  <#include "salesTable.ftl">
</div>
<div style="float:right">
  <a id="generateSalesPDFReport" href="${baseweb}/module/sale/pdfSalesReport.do">Export to PDF</a>
  <a id="generateSalesXLSReport" href="${baseweb}/module/sale/xlsSalesReport.do">Export to Excel</a>
</div>